﻿<?xml version="1.0"?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2"
    assembly="JSC.Portal.Core" namespace="JSC.Portal.Entities">

	<class name="Role" table="jsc_role" lazy="false">

		<!-- start Base on every entity -->
		<id name="Id" column="roleid" unsaved-value="-1">
			<generator class="native">
				<param name="sequence">jsc_role_roleid_seq</param>
			</generator>
		</id>

		<property name="Name" column="name" not-null="true"/>
		<property name="Description" column="description"/>
		<!-- end Base on every entity -->

  </class>
</hibernate-mapping>